package test2;

import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Vehicle v1=new Vehicle();
        Vehicle v2=new Vehicle();
        Scanner sc=new Scanner(System.in);
        v1.setKind(sc.next());
        v1.setSpeed(sc.nextInt());
        v1.setColor(sc.next());
        v2.setKind(sc.next());
        v2.setSpeed(sc.nextInt());
        v2.setColor(sc.next());
        System.out.println("第一辆是"+v1.getKind()+",时速为"+v1.getSpeed()+"km/h,颜色为"+v1.getColor());
        System.out.println("第二辆是"+v2.getKind()+",时速为"+v2.getSpeed()+"km/h,颜色为"+v2.getColor());
    }
}
